<template>
  <div id="app">
    
    <router-view/>
    <div class="tab-bb" v-if="$route.meta.isShowtabbar">
        <van-tabbar v-model="active">
          <van-tabbar-item icon="home-o" @click="$router.push('/home')">系统功能</van-tabbar-item>
          <van-tabbar-item icon="comment">联系</van-tabbar-item>
          <van-tabbar-item icon="friends-o" @click="$router.push('/user')">个人中心</van-tabbar-item>
        </van-tabbar>
      </div>
  </div>
</template>
<script>

export default {
  data(){
    return{
      active :0
    }
  }
}
</script>
<style lang="less">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  // text-align: center;
  color: #2c3e50;
  min-height: 100%;
  font-size: 0.16rem;
}

html,
body {
  height: 100%;
  background-color: #eee;
}
html{
  font-size: 100px;
}
.tab-bb{
  position: fixed;
  bottom: 0;
  width: 100%;
}
</style>
